// 在这里操作路由
export const routerNew = [
    {
        path: '/',
        name: 'Home',
        component: () => import('../views/homepage/index.vue'),
        redirect: '/Home',
        meta: {title: '菜单', icon: 'el-icon-collection'},
        children: [
            {
                path: '/Home',
                name: 'home',
                component: () => import('../views/Home/index.vue'),
            },
            {
                path: '/AllActivities',
                name: 'AllActivities',
                component: () => import('../views/AllActivities/index.vue'),
                meta: {title: '所有活动'}
            },
            {
                path: '/TaskManagement',
                name: 'TaskManagement',
                component: () => import('../views/TaskManagement/index.vue'),
                meta: {title: '全部待办'}
            },
            {
                path: '/projectCollection',
                name: 'projectCollection',
                component: () => import('../views/CompletedProjects/index.vue'),
                meta: {title: '项目集'}
            },
            {
                path: '/PersonalCenter',
                name: 'PersonalCenter',
                component: () => import('../views/PersonalCenter/index.vue'),
            },
        ]
    },
    {
        path: '/LoginIndex',
        name: 'LoginIndex',
        component: () => import('../views/login/index.vue'),
    }
]
